package com.museum.service.api;

import com.alibaba.fastjson.JSONObject;
import com.museum.base.BaseResponse;
import com.museum.entity.DTO.area.AreaDTO;
import com.museum.entity.DTO.area.addArea;
import org.springframework.stereotype.Component;

/**
 * @author LB
 * @version 1.0
 * @date 2020/12/20 10:26
 */
@Component
public interface AreaServiceAPI {
    BaseResponse<JSONObject> addArea(addArea areaDTO);

    BaseResponse<JSONObject> deleteAreaByNumber(Integer number);

    BaseResponse<JSONObject> getAllAreas();
}
